import server from "../untial/api"

export let chenqgetall = params => server({
    url: "/chenqgetall",
    method: "get",
    params
})
export let chenqdelbyids = data => server({
    url: "/chenqdelbyids",
    method: "post",
    data
})

export let chenqdelbyid = data => server({
    url: "/chenqdelbyid",
    method: "post",
    data
})

export let searchteacher = params => server({
    url: "/searchteacher",
    method: "get",
    params
})



export function zhurui(params){
    return server({
        url:'/inp2',
        method:'get',
        params
    })
}

//删除
export function deleteHomeApi(data){
    return server({
        url:'/deleteByid',
        method:'post',
        data:data

    })
}

//添加
export function addfunApi(data){
    return server({
        url:'/adddate1',
        method:'post',
        data:data

    })
}
//编辑
export function bjfunApi(data){
    return server({
        url:'/biandate1',
        method:'post',
        data:data

    })
}






export let checkoutlogin = params => server({
    url: "/checkoutlogin",
    method: "get",
    params
})

export let chenqaddlist = data => server({
    url: "/chenqaddlist",
    method: "post",
    data
})
export let chenqchangelist = data => server({
    url: "/chenqchangelist",
    method: "post",
    data
})
export let userdetail = data => server({
    url: "/userdetail",
    method: "post",
    data
})
export let chenqgetshujushitu = params => server({
    url: "/chenqgetshujushitu",
    method: "get",
    params
})

